package com.csair.seam.domain.model.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 资产信息查询接口-出参模型
 * @author lrl
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("FA_ASSET")
public class FaAsset {
	@TableField(value = "asset_id")
	@JSONField(name = "asset_id")
	private Integer assetId;//资产主键ID
	
	@TableField(value = "asset_number")
	@JSONField(name = "asset_number")
	private String assetNumber;//资产编号
	
	@TableField(value = "source_number")
	@JSONField(name = "source_number")
	private String sourceNumber;//起始编码
	
	@TableField(value = "cat1")
	private String cat1;//资产大类
	
	@TableField(value = "cat2")
	private String cat2;//资产中类
	
	@TableField(value = "description")
	private String description;//资产描述
	
	@TableField(value = "book_type_code")
	@JSONField(name = "book_type_code")
	private String bookTypeCode;//公司名称
	
	@TableField(value = "cost_center")
	@JSONField(name = "cost_center")
	private String costCenter;//所属成本中心
	
	@TableField(value = "original_cost")
	@JSONField(name = "original_cost")
	private Double originalCost;//原值
	
	@TableField(value = "salvage_value")
	@JSONField(name = "salvage_value")
	private Double salvageValue;//残值
	
	@TableField(value = "net_book_value")
	@JSONField(name = "net_book_value")
	private Double netBookValue;//净值
	
	@TableField(value = "life_in_months")
	@JSONField(name = "life_in_months")
	private Integer lifeInMonths;//使用年限,单位：月数
	
	@TableField(value = "deprn_num")
	@JSONField(name = "deprn_num")
	private Integer deprnNum;//累计折旧数
	
	@TableField(value = "deprn_amount")
	@JSONField(name = "deprn_amount")
	private Double deprnAmount;//本期折旧值
	
	@TableField(value = "period_name")
	@JSONField(name = "period_name")
	private String periodName;//本期折旧期间,格式：mm-yy
	
	@TableField(value = "deprn_year_amount")
	@JSONField(name = "deprn_year_amount")
	private Double deprnYearAmount;//本年折旧值
	
	@TableField(value = "deprn_all_amount")
	@JSONField(name = "deprn_all_amount")
	private Double deprnAllAmount;//历史折旧值
	
	@TableField(value = "date_placed_in_service")
	@JSONField(name = "date_placed_in_service")
	private String datePlacedInService;//启用日期
	
	@TableField(value = "ret_flag")
	@JSONField(name = "ret_flag")
	private String retFlag;//是否完全报废,Y：是 N：否
	
	@TableField(value = "loc1")
	private String loc1;//公司地点
	
	@TableField(value = "loc2")
	private String loc2;//部门地点
	
	@TableField(value = "manufracture")
	private String manufracture;//厂商
	
	@TableField(value = "model_num")
	@JSONField(name = "model_num")
	private String modelNum;//规格型号
	
	@TableField(value = "add_type")
	@JSONField(name = "add_type")
	private String addType;//增加类型
	
	@TableField(value = "employee")
	private String employee;//责任人
	
	@TableField(value = "created")
	private String created;//录入人
	
	@TableField(value = "last_update_date")
	@JSONField(name = "last_update_date")
	private String lastUpdateDate;//最后修改时间
	
	@TableField(value = "creation_date")
	@JSONField(name = "creation_date")
	private String creationDate;//创建时间
}
